package com.youthburin.rmp.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.youthburin.base.springjpa.MyRepository;
import com.youthburin.rmp.domain.RmpDict;
import com.youthburin.rmp.domain.RmpDictPK;

public interface RmpDictRepository extends MyRepository<RmpDict, RmpDictPK> {
	@Query("select t from RmpDict t where UPPER(t.id.typeCode)=UPPER(:typeCode)")
	public List<RmpDict> findByTypeCode(@Param("typeCode") String typeCode);
}
